package com.psy.counseling.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈兴海
 * @since 2022-05-31
 * id:情况主键
 * askId：咨询主键
 * number：第几次
 * askState：咨询状态
 * askInfo：咨询描述
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Situation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long askId;

    private Integer number;

    private String askState;

    private String askInfo;

    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;
}
